package com.jswdwsx.esign.repo

import com.jswdwsx.esign.cloud.enums.IdTypeEnum
import com.jswdwsx.esign.entity.UserPO
import org.springframework.data.repository.CrudRepository

interface UserRepository : CrudRepository<UserPO, String> {
    fun findByIdTypeAndIdNumber(idType: IdTypeEnum, idNumber: String): UserPO?
    fun findAllByIdTypeAndIdNumber(idType: IdTypeEnum, idNumber: String): List<UserPO>
}